package com.sikulifang.bank.simulation.dto.citic;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * ClassName B2cPayDTO
 * Description B2cPayDTO
 *
 * @author Yat
 * Date 2023年7月4日, 0004 9:47
 * version 1.0
 */
@NoArgsConstructor
@Data
public class CiticB2cPayDTO {
    /**
     * totalNumber
     */
    private String totalNumber;
    /**
     * totalAmount
     */
    private String totalAmount;
    /**
     * clientID
     */
    private String clientID;
    /**
     * payAccountNo
     */
    private String payAccountNo;
    /**
     * preparType
     */
    private String preparType;
    /**
     * action
     */
    private String action;
    /**
     * abstractX
     */
    private String abstractX;
    /**
     * userName
     */
    private String userName;
    /**
     * list
     */
    private ListDTO list =new ListDTO();

    /**
     * ListDTO
     */
    @NoArgsConstructor
    @Data
    public static class ListDTO {
        /**
         * row
         */
        private List<RowDTO> row =new ArrayList<>();

        /**
         * RowDTO
         */
        @NoArgsConstructor
        @Data
        public static class RowDTO {
            /**
             * recBankCode
             */
            private String recBankCode;
            /**
             * recAccountNo
             */
            private String recAccountNo;
            /**
             * recAccountName
             */
            private String recAccountName;
            /**
             * id
             */
            private String id;
            /**
             * abstractX
             */
            private String abstractX;
            /**
             * tranAmount
             */
            private BigDecimal tranAmount;
        }
    }
}
